package com.guigu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.pojo.Businesses;
import com.guigu.pojo.Order;
import com.guigu.vo.Vo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {
     List<Order> selectAll(@Param("vo") Vo vo);
     //查询用户
     Businesses selectById(int userId);

     //李xx
     //查询商品最大id
     Order selectMaxId();
     int insert(Order order);
     Order One(String orderId);

     int update(Order order);
}
